package example4;

public class SalaryService {
    public static double getTotalSalaries(Seller s1,Manager m1){
        double t1 = s1.calculateSalary(s1.getSalary()) ;
        double t2 =m1.calculateSalary(m1.getSalary());
        double total = t1 + t2;
      return total;


    }
}
